package hu.vpszd.beans

import javax.faces.bean.SessionScoped

import org.springframework.stereotype.Component

@Component
@SessionScoped
class CommercialBean {
	def commercials = [new Commercial(image: "commercial_1.png", text: ""), new Commercial(image: "commercial_2.png", text: ""), new Commercial(image: "commercial_2.png", text: "")]
	
	static class Commercial {
		String image
		String text
	}
}
